<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="player">
    <div id="search" >
        <input type="text" autocomplete="off" v-model="query" @keyup.enter="searchMusic" />
    </div>
    <ul>
        <li v-for="item in musicList" ><a href="javascript:;" @click="playMusic(item.id)" ><b>{{item.name}}</b></a></li>
    </ul>
    <audio ref="audio" :src="musicUrl" controls autoplay loop class="myaudio" ></audio>


</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="/static/vue/musice.js"></script>
</body>
</html>